package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangjr
 * @since 2022-10-23
 */
@Getter
@Setter
@TableName("sec_sys_access")
@ApiModel(value = "SecSysAccess对象", description = "")
public class SecSysAccess implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("访问记录编号")
    @TableId(value = "access_id", type = IdType.AUTO)
    private Long accessId;

    @ApiModelProperty("访问用户编号")
    private Long accountId;

    @ApiModelProperty("访问用户姓名")
    private String accountName;

    @ApiModelProperty("登录ip")
    private String loginIp;

    @ApiModelProperty("登录地址")
    private String loginLocation;

    @ApiModelProperty("浏览器类型")
    private String browserType;

    @ApiModelProperty("操作系统")
    private String os;

    @ApiModelProperty("提示信息")
    private String message;

    @ApiModelProperty("登录状态")
    private Integer loginStatus;

    @ApiModelProperty("访问时间")
    private LocalDate accessTime;


}
